//package com.app.bongda;
//
//import android.os.Bundle;
//import android.view.View;
//import android.widget.AdapterView;
//import android.widget.AdapterView.OnItemClickListener;
//
//import com.app.bongda.base.BaseActivtiy;
//import com.app.bongda.fragment.BangXepHangFragment;
//import com.app.bongda.fragment.CountryFragment;
//import com.app.bongda.fragment.DanhSachGiaiDauFragment;
//import com.app.bongda.model.Country;
//import com.app.bongda.model.GiaiDau;
//
//public class X4Activity extends BaseX1X2Activity {
//	// bang xep hang
//	// country -> danh sach giai dau -> bang xep hang
//	@Override
//	protected void onCreate(Bundle savedInstanceState) {
//		super.onCreate(savedInstanceState);
//		
//		showCountry();
////		showFragment(new CountryFragment(new OnItemClickListener() {
////			@Override
////			public void onItemClick(AdapterView<?> parent, View view,
////					int position, long id) {
////				Country country = (Country) parent.getItemAtPosition(position);
////				showFragment(new DanhSachGiaiDauFragment(country,
////						new OnItemClickListener() {
////							@Override
////							public void onItemClick(AdapterView<?> parent,
////									View view, int position, long id) {
////								GiaiDau dau = (GiaiDau) parent.getItemAtPosition(position);
////								showFragment(new BangXepHangFragment(dau, null));
////							}
////
////						}));
////			}
////
////		}));
//	}
//	
//	public void showDanhSachGiaiDau222(Country country){
//		 OnItemClickListener listGiaiDau = new OnItemClickListener() {
//			@Override
//			public void onItemClick(AdapterView<?> parent, View view, int position,
//					long id) {
//				//showLiveScore(parent.getItemAtPosition(position));
//				GiaiDau dau = (GiaiDau) parent.getItemAtPosition(position);
//				showBangXepHangFragment(dau);
//			}
//		};
//		
//		showFragment(new DanhSachGiaiDauFragment(country,listGiaiDau));
//	}
//
//}
